<?php /* Smarty version 2.6.13, created on 2008-11-24 08:32:35
         compiled from rubric_edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'rubric_edit.tpl', 8, false),)), $this); ?>
<FORM method="post" action="/backend/rubric/save/">
<div class="form">
    <H1><?php if ($this->_tpl_vars['Rubric']->isNew()): ?>Добавление рубрики<?php else: ?>Редактирование рубрики ('<?php echo $this->_tpl_vars['Rubric']->name; ?>
')<?php endif; ?></H1>
    <div class="operation"><a href="<?php echo $this->_tpl_vars['fvConfig']->get('dir_web_root'); ?>
rubric/" onclick="go('<?php echo $this->_tpl_vars['fvConfig']->get('dir_web_root'); ?>
rubric/'); return false;" class="left">вернутся к списку</a><div style="clear: both;"></div>
    </div>
    <fieldset>
        <legend>Общая информация</legend>
        <label for="name">Название:</label> <input type="text" id="name" name="r[name]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['Rubric']->name)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"/> <br />
        <label for="tech_name">URL:</label> <input type="text" id="tech_name" name="r[tech_name]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['Rubric']->tech_name)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"/> <br />
        <label for="info">Описание:</label> <textarea name="r[info]" id="info" rows="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['Rubric']->info)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea>
    </fieldset>

    <fieldset>
        <legend>Изображение</legend>
        
    </fieldset>

    <div class="buttonpanel">
        <input type="submit" name="save" value="Сохранить" class="button"  onclick="$('redirect').value = '';">
        <input type="submit" name="save_and_return" value="Сохранить и выйти" class="button" onclick="$('redirect').value = '1';">
    </div>
    <input type="hidden" name="id" id="id" value="<?php echo $this->_tpl_vars['Rubric']->getPk(); ?>
" />
    <input type="hidden" id="redirect" name="redirect" value="" />
</div>
</form>